/**
 * Copyright (c) 2018-2028, Chill Zhuang 庄骞 (smallchill@163.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.springblade.modules.policy.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import org.springblade.core.mp.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 实体类
 *
 * @author Blade
 * @since 2022-07-25
 */
@Data
@TableName("blade_policy_draw")
@EqualsAndHashCode(callSuper = true)
public class PolicyDraw extends BaseEntity {

	private static final long serialVersionUID = 1L;
	@TableId(type = IdType.AUTO)
	@JsonSerialize(using = ToStringSerializer.class)
	private Long id;
	/**
	 * 办结时限
	 */
	private Integer completionTime;
	/**
	 * 主管部门
	 */
	private String implemention;
	/**
	 * 是否免审即享
	 */
	private Integer isApply;
	/**
	 * 事项名称
	 */
	private String name;
	/**
	 * 使用地区id
	 */
	private String suitLevel;
	/**
	 * 使用地区
	 */
	private String suitLevelName;
	/**
	 * 创建用户部门id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long createUserDept;
	/**
	 * 创建用户部门名称
	 */
	private String createUserDeptName;
	/**
	 * 申报条件
	 */
	private String acceptCondition;
	/**
	 * 申报时间截至日期
	 */
	private String declareEnd;

	/**
	 * 申报时间截至日期类型
	 */
	private Integer declareType;
	/**
	 * 申报时间开始日期
	 */
	@DateTimeFormat(
		pattern = "yyyy-MM-dd"
	)
	@JsonFormat(
		pattern = "yyyy-MM-dd"
	)
	private Date declareStart;
	/**
	 * 企业规模
	 */
	private String enterpriseScale;
	/**
	 * 企业特色
	 */
	private String enterpriseSpecial;
	/**
	 * 行业分类
	 */
	private String industryType;
	/**
	 * 行业性质
	 */
	private String enterpriseNature;
	/**
	 * 企业人才
	 */
	private String enterpriseTalent;

	/**
	 * 企业资质
	 */
	private String enterpriseQualification;

	/**
	 * 资质等级
	 */
	private String qualificationLevel;

	/**
	 * 信用等级
	 */
	private String creditRating;

	/**
	 * 上市地址
	 */
	private String listingAddress;

	/**
	 * 技术能力
	 */
	private String technicalCapability;

	/**
	 * 项目类型
	 */
	private String projectType;

	/**
	 * 优惠内容
	 */
	private String subsidyStandards;
	/**
	 * 补贴费用上区间
	 */
	private Integer subsidyCostMax;
	/**
	 * 补贴费用下区间
	 */
	private Integer subsidyCostMin;
	/**
	 * 咨询电话
	 */
	private String telephone;
	/**
	 * 来源信息批次
	 */
	private String sourceBatch;
	/**
	 * 来源信息条目
	 */
	private String sourceEntry;
	/**
	 * 事项类型
	 */
	private Integer matterType;

	/**
	 * 发布状态
	 */
	private Integer publishStatus;

	/**
	 * 政策ids
	 */
	private String policys;
	/**
	 * 修改人部门id
	 */
	@JsonSerialize(using = ToStringSerializer.class)
	private Long updateUserDept;
	/**
	 * 修改人部门名称
	 */
	private String updateUserDeptName;


}
